// 增加标题背景
const originItemListInit = Window_QuestTitle.prototype.initialize;
Window_QuestTitle.prototype.initialize = function (x, y, width, height) {
    originItemListInit.call(this, x, y, width, height);
    this._backgroundSprite = new Sprite();
    this._backgroundSprite.bitmap =
        ImageManager.loadBitmap('img/system/UI/', 'MenuBg_QuestTitle');
    this.addChildAt(this._backgroundSprite, 0);
    this._backgroundSprite.y = +16;
    this.opacity = 0;
};

// 设置为加粗、白色
Window_QuestTitle.prototype.setText = function(text) {
  if (this._text !== text) {
    this._text = "\\C[0]\\fb"+text;
    this.refresh();
  }
};
